package mf.com.vo.common.Tree;


import java.util.List;

/**
 * @Author: lmf
 * @Create: 2024/3/30 21:22
 * Description:  公共的树形结构类
 */

public interface  TreeNode<T extends TreeNode<T>> {
    Integer getId();
    void setId(Integer id);
    Integer getParentId();
    void setParentId(Integer parentId);
    List<T> getChildren();
    void setChildren(List<T> children);


}
